home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ttttttttyyyyssssllllooootttt((((3333CCCC)))) ttttttttyyyyssssllllooootttt((((3333CCCC))))
-
-
-
- NNNNAAAAMMMMEEEE
- _tttt_tttt_yyyy_ssss_llll_oooo_tttt - find the slot in the utmp file of the current user
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_tttt_dddd_llll_iiii_bbbb_...._hhhh_>>>>
- _iiii_nnnn_tttt _tttt_tttt_yyyy_ssss_llll_oooo_tttt _((((_vvvv_oooo_iiii_dddd_))))_;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _tttt_tttt_yyyy_ssss_llll_oooo_tttt returns the index of the current user's entry in the
- _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_uuuu_tttt_mmmm_pppp file. This is accomplished by calling _t_t_y_n_a_m_e(3C) to
- determine which device the calling program has associated with the
- standard input, the standard output, or the error output (0, 1 or 2).
- This device name is then searched for in the ////vvvvaaaarrrr////aaaaddddmmmm////uuuuttttmmmmpppp file.
-
- FFFFIIIILLLLEEEESSSS
- _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_uuuu_tttt_mmmm_pppp
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _gggg_eeee_tttt_uuuu_tttt(3C), _tttt_tttt_yyyy_nnnn_aaaa_mmmm_eeee(3C)
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- A value of -1 is returned if an error was encountered while searching for
- the terminal name or if none of the above file descriptors are associated
- with a terminal device.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-